//
//  ManageViewController.m
//  ZhuoxinAgriculture
//
//  Created by maxine on 2016/11/9.
//  Copyright © 2016年 KKING. All rights reserved.
//

#import "ManageViewController.h"

@interface ManageViewController ()

@end

@implementation ManageViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    if (self.data == nil) {
        
        UIImageView *imgView= [[UIImageView alloc]init];
        NSString *imageName = @"";
        switch (self.manageId) {
            case 0:
            imageName = @"";
            break;
            
            case 1:
            imageName = @"";
            break;
            
            case 2:
            imageName = @"农资管理bg";
            break;
            
            case 3:
            imageName = @"农技管理bg";
            break;
            
            case 4:
            imageName = @"农机管理bg";
            break;
            
            default:
            break;
        }
        
        imgView.image = [UIImage imageNamed:imageName];
        imgView.frame= CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height);
        [self.view addSubview:imgView];
    }else if (self.manageId == 0){
    
    
    }else if (self.manageId == 1){
    
    
    }
    


}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
